﻿<?xml version="1.0"?>
<!--
  The following modifications need to happen after each regeneration of the config file:
  
  Table: Contact 
       <BusinessKeyDefinition SourceObjectName="EmailAddress" />
-->

<ModelDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<ClientName>dotNetProfessional</ClientName>
	<CopyrightNotice>Copyright 2008 $ClientName$</CopyrightNotice>
	<ModelName>AdventureWorks</ModelName>
	<RootPath>c:\temp\modeltest\$ModelName$</RootPath>
	<RootNamespace>$ClientName$.$ModelName$</RootNamespace>

	<DomainDefinition>
		<ModelConnectionString>Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=true;Connection Timeout=1;</ModelConnectionString>
		<ResolveLooseRelationships>false</ResolveLooseRelationships>
		<DomainNamespace>$Domain.Model.RootNamespace$.Business.Entities</DomainNamespace>
		<ManyToManyRuleDefinition>
			<ManyToManyRuleDefinition SourceObjectName="ModifiedDate"/>
			<ManyToManyRuleDefinition SourceObjectName="rowguid"/>
		</ManyToManyRuleDefinition>
		<BaseEntityClass>
			<ClassName>EntityBase</ClassName>
			<Namespace>dnp.Framework.Business</Namespace>
			<Attributes>
				<!-- Role Types: None, PrimaryKey, ConcurrencyKey, CreatedBy, ModifiedBy, CreatedDate, ModifiedDate, IsValid, IsDirty-->
				<BusinessEntityAttribute Name="IsValid" AttributeRole="IsValid" />
				<BusinessEntityAttribute Name="IsDirty" AttributeRole="IsDirty" />
				<!--<BusinessEntityAttribute Name="CreatedBy" AttributeRole="CreatedBy" />
				<BusinessEntityAttribute Name="ModifiedBy" AttributeRole="ModifiedBy" />
				<BusinessEntityAttribute Name="CreatedDate" AttributeRole="CreatedDate" />
				<BusinessEntityAttribute Name="ModifiedDate" AttributeRole="ModifiedDate" />
				<BusinessEntityAttribute Name="ConcurrencyID" AttributeRole="ConcurrencyKey" />-->
			</Attributes>
		</BaseEntityClass>

		<Entities>
			<EntityDefinition Name="AWBuildVersion" RelativeNamespace="" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="dbo.AWBuildVersion" SourceObjectType="Table" Visible="false">
				<Properties>
					<PropertyDefinition Name="SystemInformationID" SourceObjectName="SystemInformationID" Visible="true"/>
					<PropertyDefinition Name="DatabaseVersion" SourceObjectName="Database Version" Visible="true"/>
					<PropertyDefinition Name="VersionDate" SourceObjectName="VersionDate" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Database Version" />
				</BusinessKeys>
				<Relationships>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="DatabaseLog" RelativeNamespace="" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="dbo.DatabaseLog" SourceObjectType="Table" Visible="false">
				<Properties>
					<PropertyDefinition Name="DatabaseLogID" SourceObjectName="DatabaseLogID" Visible="true"/>
					<PropertyDefinition Name="PostTime" SourceObjectName="PostTime" Visible="true"/>
					<PropertyDefinition Name="DatabaseUser" SourceObjectName="DatabaseUser" Visible="true"/>
					<PropertyDefinition Name="Event" SourceObjectName="Event" Visible="true"/>
					<PropertyDefinition Name="Schema" SourceObjectName="Schema" Visible="true"/>
					<PropertyDefinition Name="Object" SourceObjectName="Object" Visible="true"/>
					<PropertyDefinition Name="TSQL" SourceObjectName="TSQL" Visible="true"/>
					<PropertyDefinition Name="XmlEvent" SourceObjectName="XmlEvent" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="DatabaseUser" />
				</BusinessKeys>
				<Relationships>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ErrorLog" RelativeNamespace="" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="dbo.ErrorLog" SourceObjectType="Table" Visible="false">
				<Properties>
					<PropertyDefinition Name="ErrorLogID" SourceObjectName="ErrorLogID" Visible="true"/>
					<PropertyDefinition Name="ErrorTime" SourceObjectName="ErrorTime" Visible="true"/>
					<PropertyDefinition Name="UserName" SourceObjectName="UserName" Visible="true"/>
					<PropertyDefinition Name="ErrorNumber" SourceObjectName="ErrorNumber" Visible="true"/>
					<PropertyDefinition Name="ErrorSeverity" SourceObjectName="ErrorSeverity" Visible="true"/>
					<PropertyDefinition Name="ErrorState" SourceObjectName="ErrorState" Visible="true"/>
					<PropertyDefinition Name="ErrorProcedure" SourceObjectName="ErrorProcedure" Visible="true"/>
					<PropertyDefinition Name="ErrorLine" SourceObjectName="ErrorLine" Visible="true"/>
					<PropertyDefinition Name="ErrorMessage" SourceObjectName="ErrorMessage" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="UserName" />
				</BusinessKeys>
				<Relationships>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Department" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.Department" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="DepartmentID" SourceObjectName="DepartmentID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="GroupName" SourceObjectName="GroupName" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="EmployeeDepartmentHistoryDepartments" RelationshipType="OneToMany" SourceObjectName="FK_EmployeeDepartmentHistory_Department_DepartmentID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Employee" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.Employee" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="NationalIDNumber" SourceObjectName="NationalIDNumber" Visible="true"/>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="LoginID" SourceObjectName="LoginID" Visible="true"/>
					<PropertyDefinition Name="ManagerID" SourceObjectName="ManagerID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="BirthDate" SourceObjectName="BirthDate" Visible="true"/>
					<PropertyDefinition Name="MaritalStatus" SourceObjectName="MaritalStatus" Visible="true"/>
					<PropertyDefinition Name="Gender" SourceObjectName="Gender" Visible="true"/>
					<PropertyDefinition Name="HireDate" SourceObjectName="HireDate" Visible="true"/>
					<PropertyDefinition Name="SalariedFlag" SourceObjectName="SalariedFlag" Visible="true"/>
					<PropertyDefinition Name="VacationHours" SourceObjectName="VacationHours" Visible="true"/>
					<PropertyDefinition Name="SickLeaveHours" SourceObjectName="SickLeaveHours" Visible="true"/>
					<PropertyDefinition Name="CurrentFlag" SourceObjectName="CurrentFlag" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="NationalIDNumber" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Manager" RelationshipType="Recursive" SourceObjectName="FK_Employee_Employee_ManagerID" Visible="true"/>
					<RelationshipDefinition Name="Contact" RelationshipType="ManyToOne" SourceObjectName="FK_Employee_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="Addresses" RelationshipType="ManyToMany" SourceObjectName="FK_EmployeeAddress_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="EmployeeDepartmentHistoryEmployees" RelationshipType="OneToMany" SourceObjectName="FK_EmployeeDepartmentHistory_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="EmployeePayHistoryEmployees" RelationshipType="OneToMany" SourceObjectName="FK_EmployeePayHistory_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="JobCandidateEmployees" RelationshipType="OneToMany" SourceObjectName="FK_JobCandidate_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="PurchaseOrderHeaderEmployees" RelationshipType="OneToMany" SourceObjectName="FK_PurchaseOrderHeader_Employee_EmployeeID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="EmployeeDepartmentHistory" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.EmployeeDepartmentHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="DepartmentID" SourceObjectName="DepartmentID" Visible="true"/>
					<PropertyDefinition Name="ShiftID" SourceObjectName="ShiftID" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="EmployeeID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Department" RelationshipType="ManyToOne" SourceObjectName="FK_EmployeeDepartmentHistory_Department_DepartmentID" Visible="true"/>
					<RelationshipDefinition Name="Employee" RelationshipType="ManyToOne" SourceObjectName="FK_EmployeeDepartmentHistory_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="Shift" RelationshipType="ManyToOne" SourceObjectName="FK_EmployeeDepartmentHistory_Shift_ShiftID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="EmployeePayHistory" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.EmployeePayHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="RateChangeDate" SourceObjectName="RateChangeDate" Visible="true"/>
					<PropertyDefinition Name="Rate" SourceObjectName="Rate" Visible="true"/>
					<PropertyDefinition Name="PayFrequency" SourceObjectName="PayFrequency" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="EmployeeID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Employee" RelationshipType="ManyToOne" SourceObjectName="FK_EmployeePayHistory_Employee_EmployeeID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="JobCandidate" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.JobCandidate" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="JobCandidateID" SourceObjectName="JobCandidateID" Visible="true"/>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="Resume" SourceObjectName="Resume" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="JobCandidateID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Employee" RelationshipType="ManyToOne" SourceObjectName="FK_JobCandidate_Employee_EmployeeID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Shift" RelativeNamespace="HumanResources" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="HumanResources.Shift" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ShiftID" SourceObjectName="ShiftID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="StartTime" SourceObjectName="StartTime" Visible="true"/>
					<PropertyDefinition Name="EndTime" SourceObjectName="EndTime" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="EmployeeDepartmentHistoryShifts" RelationshipType="OneToMany" SourceObjectName="FK_EmployeeDepartmentHistory_Shift_ShiftID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Address" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Person.Address" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="AddressID" SourceObjectName="AddressID" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceID" SourceObjectName="StateProvinceID" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="AddressID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Employees" RelationshipType="ManyToMany" SourceObjectName="FK_EmployeeAddress_Address_AddressID" Visible="true"/>
					<RelationshipDefinition Name="StateProvince" RelationshipType="ManyToOne" SourceObjectName="FK_Address_StateProvince_StateProvinceID" Visible="true"/>
					<RelationshipDefinition Name="VendorAddressAddresses" RelationshipType="OneToMany" SourceObjectName="FK_VendorAddress_Address_AddressID" Visible="true"/>
					<RelationshipDefinition Name="CustomerAddressAddresses" RelationshipType="OneToMany" SourceObjectName="FK_CustomerAddress_Address_AddressID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderBillToAddresses" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_Address_BillToAddressID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderShipToAddresses" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_Address_ShipToAddressID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="AddressType" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Enum" SourceObjectName="Person.AddressType" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="AddressTypeID" SourceObjectName="AddressTypeID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="VendorAddressAddressTypes" RelationshipType="OneToMany" SourceObjectName="FK_VendorAddress_AddressType_AddressTypeID" Visible="true"/>
					<RelationshipDefinition Name="CustomerAddressAddressTypes" RelationshipType="OneToMany" SourceObjectName="FK_CustomerAddress_AddressType_AddressTypeID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Contact" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Person.Contact" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="NameStyle" SourceObjectName="NameStyle" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="PasswordHash" SourceObjectName="PasswordHash" Visible="true"/>
					<PropertyDefinition Name="PasswordSalt" SourceObjectName="PasswordSalt" Visible="true"/>
					<PropertyDefinition Name="AdditionalContactInfo" SourceObjectName="AdditionalContactInfo" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="EmailAddress" />
					<BusinessKeyDefinition SourceObjectName="FirstName" />
					<BusinessKeyDefinition SourceObjectName="LastName" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="EmployeeContacts" RelationshipType="OneToMany" SourceObjectName="FK_Employee_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="VendorContactContacts" RelationshipType="OneToMany" SourceObjectName="FK_VendorContact_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="CreditCards" RelationshipType="ManyToMany" SourceObjectName="FK_ContactCreditCard_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="IndividualContacts" RelationshipType="OneToMany" SourceObjectName="FK_Individual_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderContacts" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="StoreContactContacts" RelationshipType="OneToMany" SourceObjectName="FK_StoreContact_Contact_ContactID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ContactType" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Enum" SourceObjectName="Person.ContactType" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ContactTypeID" SourceObjectName="ContactTypeID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="VendorContactContactTypes" RelationshipType="OneToMany" SourceObjectName="FK_VendorContact_ContactType_ContactTypeID" Visible="true"/>
					<RelationshipDefinition Name="StoreContactContactTypes" RelationshipType="OneToMany" SourceObjectName="FK_StoreContact_ContactType_ContactTypeID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="CountryRegion" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Enum" SourceObjectName="Person.CountryRegion" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CountryRegionCode" SourceObjectName="CountryRegionCode" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CountryRegionCode" />
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="StateProvinceCountryRegionCodes" RelationshipType="OneToMany" SourceObjectName="FK_StateProvince_CountryRegion_CountryRegionCode" Visible="true"/>
					<RelationshipDefinition Name="CurrencyCodes" RelationshipType="ManyToMany" SourceObjectName="FK_CountryRegionCurrency_CountryRegion_CountryRegionCode" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="StateProvince" RelativeNamespace="Person" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Person.StateProvince" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="StateProvinceID" SourceObjectName="StateProvinceID" Visible="true"/>
					<PropertyDefinition Name="StateProvinceCode" SourceObjectName="StateProvinceCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionCode" SourceObjectName="CountryRegionCode" Visible="true"/>
					<PropertyDefinition Name="IsOnlyStateProvinceFlag" SourceObjectName="IsOnlyStateProvinceFlag" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="AddressStateProvinces" RelationshipType="OneToMany" SourceObjectName="FK_Address_StateProvince_StateProvinceID" Visible="true"/>
					<RelationshipDefinition Name="CountryRegionCode" RelationshipType="ManyToOne" SourceObjectName="FK_StateProvince_CountryRegion_CountryRegionCode" Visible="true"/>
					<RelationshipDefinition Name="Territory" RelationshipType="ManyToOne" SourceObjectName="FK_StateProvince_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesTaxRateStateProvinces" RelationshipType="OneToMany" SourceObjectName="FK_SalesTaxRate_StateProvince_StateProvinceID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="BillOfMaterials" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.BillOfMaterials" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="BillOfMaterialsID" SourceObjectName="BillOfMaterialsID" Visible="true"/>
					<PropertyDefinition Name="ProductAssemblyID" SourceObjectName="ProductAssemblyID" Visible="true"/>
					<PropertyDefinition Name="ComponentID" SourceObjectName="ComponentID" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="UnitMeasureCode" SourceObjectName="UnitMeasureCode" Visible="true"/>
					<PropertyDefinition Name="BOMLevel" SourceObjectName="BOMLevel" Visible="true"/>
					<PropertyDefinition Name="PerAssemblyQty" SourceObjectName="PerAssemblyQty" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="BillOfMaterialsID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductAssembly" RelationshipType="ManyToOne" SourceObjectName="FK_BillOfMaterials_Product_ProductAssemblyID" Visible="true"/>
					<RelationshipDefinition Name="Component" RelationshipType="ManyToOne" SourceObjectName="FK_BillOfMaterials_Product_ComponentID" Visible="true"/>
					<RelationshipDefinition Name="UnitMeasureCode" RelationshipType="ManyToOne" SourceObjectName="FK_BillOfMaterials_UnitMeasure_UnitMeasureCode" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Culture" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Enum" SourceObjectName="Production.Culture" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CultureID" SourceObjectName="CultureID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CultureID" />
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductModelProductDescriptionCultureCultures" RelationshipType="OneToMany" SourceObjectName="FK_ProductModelProductDescriptionCulture_Culture_CultureID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Document" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.Document" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="DocumentID" SourceObjectName="DocumentID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FileName" SourceObjectName="FileName" Visible="true"/>
					<PropertyDefinition Name="FileExtension" SourceObjectName="FileExtension" Visible="true"/>
					<PropertyDefinition Name="Revision" SourceObjectName="Revision" Visible="true"/>
					<PropertyDefinition Name="ChangeNumber" SourceObjectName="ChangeNumber" Visible="true"/>
					<PropertyDefinition Name="Status" SourceObjectName="Status" Visible="true"/>
					<PropertyDefinition Name="DocumentSummary" SourceObjectName="DocumentSummary" Visible="true"/>
					<PropertyDefinition Name="DocumentData" SourceObjectName="Document" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="FileName" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Products" RelationshipType="ManyToMany" SourceObjectName="FK_ProductDocument_Document_DocumentID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Illustration" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.Illustration" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="IllustrationID" SourceObjectName="IllustrationID" Visible="true"/>
					<PropertyDefinition Name="Diagram" SourceObjectName="Diagram" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="IllustrationID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductModels" RelationshipType="ManyToMany" SourceObjectName="FK_ProductModelIllustration_Illustration_IllustrationID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Location" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.Location" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="LocationID" SourceObjectName="LocationID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="CostRate" SourceObjectName="CostRate" Visible="true"/>
					<PropertyDefinition Name="Availability" SourceObjectName="Availability" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductInventoryLocations" RelationshipType="OneToMany" SourceObjectName="FK_ProductInventory_Location_LocationID" Visible="true"/>
					<RelationshipDefinition Name="WorkOrderRoutingLocations" RelationshipType="OneToMany" SourceObjectName="FK_WorkOrderRouting_Location_LocationID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Product" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.Product" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ProductNumber" SourceObjectName="ProductNumber" Visible="true"/>
					<PropertyDefinition Name="MakeFlag" SourceObjectName="MakeFlag" Visible="true"/>
					<PropertyDefinition Name="FinishedGoodsFlag" SourceObjectName="FinishedGoodsFlag" Visible="true"/>
					<PropertyDefinition Name="Color" SourceObjectName="Color" Visible="true"/>
					<PropertyDefinition Name="SafetyStockLevel" SourceObjectName="SafetyStockLevel" Visible="true"/>
					<PropertyDefinition Name="ReorderPoint" SourceObjectName="ReorderPoint" Visible="true"/>
					<PropertyDefinition Name="StandardCost" SourceObjectName="StandardCost" Visible="true"/>
					<PropertyDefinition Name="ListPrice" SourceObjectName="ListPrice" Visible="true"/>
					<PropertyDefinition Name="Size" SourceObjectName="Size" Visible="true"/>
					<PropertyDefinition Name="SizeUnitMeasureCode" SourceObjectName="SizeUnitMeasureCode" Visible="true"/>
					<PropertyDefinition Name="WeightUnitMeasureCode" SourceObjectName="WeightUnitMeasureCode" Visible="true"/>
					<PropertyDefinition Name="Weight" SourceObjectName="Weight" Visible="true"/>
					<PropertyDefinition Name="DaysToManufacture" SourceObjectName="DaysToManufacture" Visible="true"/>
					<PropertyDefinition Name="ProductLine" SourceObjectName="ProductLine" Visible="true"/>
					<PropertyDefinition Name="Class" SourceObjectName="Class" Visible="true"/>
					<PropertyDefinition Name="Style" SourceObjectName="Style" Visible="true"/>
					<PropertyDefinition Name="ProductSubcategoryID" SourceObjectName="ProductSubcategoryID" Visible="true"/>
					<PropertyDefinition Name="ProductModelID" SourceObjectName="ProductModelID" Visible="true"/>
					<PropertyDefinition Name="SellStartDate" SourceObjectName="SellStartDate" Visible="true"/>
					<PropertyDefinition Name="SellEndDate" SourceObjectName="SellEndDate" Visible="true"/>
					<PropertyDefinition Name="DiscontinuedDate" SourceObjectName="DiscontinuedDate" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="BillOfMaterialsProductAssemblies" RelationshipType="OneToMany" SourceObjectName="FK_BillOfMaterials_Product_ProductAssemblyID" Visible="true"/>
					<RelationshipDefinition Name="BillOfMaterialsComponents" RelationshipType="OneToMany" SourceObjectName="FK_BillOfMaterials_Product_ComponentID" Visible="true"/>
					<RelationshipDefinition Name="ProductModel" RelationshipType="ManyToOne" SourceObjectName="FK_Product_ProductModel_ProductModelID" Visible="true"/>
					<RelationshipDefinition Name="ProductSubcategory" RelationshipType="ManyToOne" SourceObjectName="FK_Product_ProductSubcategory_ProductSubcategoryID" Visible="true"/>
					<RelationshipDefinition Name="SizeUnitMeasureCode" RelationshipType="ManyToOne" SourceObjectName="FK_Product_UnitMeasure_SizeUnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="WeightUnitMeasureCode" RelationshipType="ManyToOne" SourceObjectName="FK_Product_UnitMeasure_WeightUnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="ProductCostHistoryProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductCostHistory_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="Documents" RelationshipType="ManyToMany" SourceObjectName="FK_ProductDocument_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductInventoryProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductInventory_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductListPriceHistoryProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductListPriceHistory_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductProductPhotoProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductProductPhoto_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductReviewProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductReview_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="TransactionHistoryProducts" RelationshipType="OneToMany" SourceObjectName="FK_TransactionHistory_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="WorkOrderProducts" RelationshipType="OneToMany" SourceObjectName="FK_WorkOrder_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductVendorProducts" RelationshipType="OneToMany" SourceObjectName="FK_ProductVendor_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="PurchaseOrderDetailProducts" RelationshipType="OneToMany" SourceObjectName="FK_PurchaseOrderDetail_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ShoppingCartItemProducts" RelationshipType="OneToMany" SourceObjectName="FK_ShoppingCartItem_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="SpecialOfferProductProducts" RelationshipType="OneToMany" SourceObjectName="FK_SpecialOfferProduct_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductCategory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Production.ProductCategory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductCategoryID" SourceObjectName="ProductCategoryID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductSubcategoryProductCategories" RelationshipType="OneToMany" SourceObjectName="FK_ProductSubcategory_ProductCategory_ProductCategoryID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductCostHistory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductCostHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="StandardCost" SourceObjectName="StandardCost" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="StartDate" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductCostHistory_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductDescription" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Production.ProductDescription" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductDescriptionID" SourceObjectName="ProductDescriptionID" Visible="true"/>
					<PropertyDefinition Name="Description" SourceObjectName="Description" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Description" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductModelProductDescriptionCultureProductDescriptions" RelationshipType="OneToMany" SourceObjectName="FK_ProductModelProductDescriptionCulture_ProductDescription_ProductDescriptionID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductInventory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductInventory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="LocationID" SourceObjectName="LocationID" Visible="true"/>
					<PropertyDefinition Name="Shelf" SourceObjectName="Shelf" Visible="true"/>
					<PropertyDefinition Name="Bin" SourceObjectName="Bin" Visible="true"/>
					<PropertyDefinition Name="Quantity" SourceObjectName="Quantity" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="LocationID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Location" RelationshipType="ManyToOne" SourceObjectName="FK_ProductInventory_Location_LocationID" Visible="true"/>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductInventory_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductListPriceHistory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductListPriceHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="ListPrice" SourceObjectName="ListPrice" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="StartDate" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductListPriceHistory_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductModel" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductModel" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductModelID" SourceObjectName="ProductModelID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="CatalogDescription" SourceObjectName="CatalogDescription" Visible="true"/>
					<PropertyDefinition Name="Instructions" SourceObjectName="Instructions" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductProductModels" RelationshipType="OneToMany" SourceObjectName="FK_Product_ProductModel_ProductModelID" Visible="true"/>
					<RelationshipDefinition Name="Illustrations" RelationshipType="ManyToMany" SourceObjectName="FK_ProductModelIllustration_ProductModel_ProductModelID" Visible="true"/>
					<RelationshipDefinition Name="ProductModelProductDescriptionCultureProductModels" RelationshipType="OneToMany" SourceObjectName="FK_ProductModelProductDescriptionCulture_ProductModel_ProductModelID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductModelProductDescriptionCulture" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductModelProductDescriptionCulture" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductModelID" SourceObjectName="ProductModelID" Visible="true"/>
					<PropertyDefinition Name="ProductDescriptionID" SourceObjectName="ProductDescriptionID" Visible="true"/>
					<PropertyDefinition Name="CultureID" SourceObjectName="CultureID" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductModelID" />
					<BusinessKeyDefinition SourceObjectName="ProductDescriptionID" />
					<BusinessKeyDefinition SourceObjectName="CultureID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Culture" RelationshipType="ManyToOne" SourceObjectName="FK_ProductModelProductDescriptionCulture_Culture_CultureID" Visible="true"/>
					<RelationshipDefinition Name="ProductDescription" RelationshipType="ManyToOne" SourceObjectName="FK_ProductModelProductDescriptionCulture_ProductDescription_ProductDescriptionID" Visible="true"/>
					<RelationshipDefinition Name="ProductModel" RelationshipType="ManyToOne" SourceObjectName="FK_ProductModelProductDescriptionCulture_ProductModel_ProductModelID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductPhoto" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductPhoto" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductPhotoID" SourceObjectName="ProductPhotoID" Visible="true"/>
					<PropertyDefinition Name="ThumbNailPhoto" SourceObjectName="ThumbNailPhoto" Visible="true"/>
					<PropertyDefinition Name="ThumbnailPhotoFileName" SourceObjectName="ThumbnailPhotoFileName" Visible="true"/>
					<PropertyDefinition Name="LargePhoto" SourceObjectName="LargePhoto" Visible="true"/>
					<PropertyDefinition Name="LargePhotoFileName" SourceObjectName="LargePhotoFileName" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductPhotoID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductProductPhotoProductphotos" RelationshipType="OneToMany" SourceObjectName="FK_ProductProductPhoto_ProductPhoto_ProductPhotoID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductProductPhoto" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductProductPhoto" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="ProductPhotoID" SourceObjectName="ProductPhotoID" Visible="true"/>
					<PropertyDefinition Name="Primary" SourceObjectName="Primary" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="ProductPhotoID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductProductPhoto_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ProductPhoto" RelationshipType="ManyToOne" SourceObjectName="FK_ProductProductPhoto_ProductPhoto_ProductPhotoID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductReview" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductReview" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductReviewID" SourceObjectName="ProductReviewID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="ReviewerName" SourceObjectName="ReviewerName" Visible="true"/>
					<PropertyDefinition Name="ReviewDate" SourceObjectName="ReviewDate" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="Rating" SourceObjectName="Rating" Visible="true"/>
					<PropertyDefinition Name="Comments" SourceObjectName="Comments" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductReviewID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductReview_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductSubcategory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ProductSubcategory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductSubcategoryID" SourceObjectName="ProductSubcategoryID" Visible="true"/>
					<PropertyDefinition Name="ProductCategoryID" SourceObjectName="ProductCategoryID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductProductSubcategories" RelationshipType="OneToMany" SourceObjectName="FK_Product_ProductSubcategory_ProductSubcategoryID" Visible="true"/>
					<RelationshipDefinition Name="ProductCategory" RelationshipType="ManyToOne" SourceObjectName="FK_ProductSubcategory_ProductCategory_ProductCategoryID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ScrapReason" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.ScrapReason" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ScrapReasonID" SourceObjectName="ScrapReasonID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="WorkOrderScrapReasons" RelationshipType="OneToMany" SourceObjectName="FK_WorkOrder_ScrapReason_ScrapReasonID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="TransactionHistory" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.TransactionHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="TransactionID" SourceObjectName="TransactionID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="ReferenceOrderID" SourceObjectName="ReferenceOrderID" Visible="true"/>
					<PropertyDefinition Name="ReferenceOrderLineID" SourceObjectName="ReferenceOrderLineID" Visible="true"/>
					<PropertyDefinition Name="TransactionDate" SourceObjectName="TransactionDate" Visible="true"/>
					<PropertyDefinition Name="TransactionType" SourceObjectName="TransactionType" Visible="true"/>
					<PropertyDefinition Name="Quantity" SourceObjectName="Quantity" Visible="true"/>
					<PropertyDefinition Name="ActualCost" SourceObjectName="ActualCost" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="TransactionID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_TransactionHistory_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="TransactionHistoryArchive" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.TransactionHistoryArchive" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="TransactionID" SourceObjectName="TransactionID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="ReferenceOrderID" SourceObjectName="ReferenceOrderID" Visible="true"/>
					<PropertyDefinition Name="ReferenceOrderLineID" SourceObjectName="ReferenceOrderLineID" Visible="true"/>
					<PropertyDefinition Name="TransactionDate" SourceObjectName="TransactionDate" Visible="true"/>
					<PropertyDefinition Name="TransactionType" SourceObjectName="TransactionType" Visible="true"/>
					<PropertyDefinition Name="Quantity" SourceObjectName="Quantity" Visible="true"/>
					<PropertyDefinition Name="ActualCost" SourceObjectName="ActualCost" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="TransactionID" />
				</BusinessKeys>
				<Relationships>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="UnitMeasure" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Production.UnitMeasure" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="UnitMeasureCode" SourceObjectName="UnitMeasureCode" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="BillOfMaterialsUnitMeasureCodes" RelationshipType="OneToMany" SourceObjectName="FK_BillOfMaterials_UnitMeasure_UnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="ProductSizeUnitMeasureCodes" RelationshipType="OneToMany" SourceObjectName="FK_Product_UnitMeasure_SizeUnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="ProductWeightUnitMeasureCodes" RelationshipType="OneToMany" SourceObjectName="FK_Product_UnitMeasure_WeightUnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="ProductVendorUnitMeasureCodes" RelationshipType="OneToMany" SourceObjectName="FK_ProductVendor_UnitMeasure_UnitMeasureCode" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="WorkOrder" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.WorkOrder" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="WorkOrderID" SourceObjectName="WorkOrderID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="OrderQty" SourceObjectName="OrderQty" Visible="true"/>
					<PropertyDefinition Name="StockedQty" SourceObjectName="StockedQty" Visible="true"/>
					<PropertyDefinition Name="ScrappedQty" SourceObjectName="ScrappedQty" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="DueDate" SourceObjectName="DueDate" Visible="true"/>
					<PropertyDefinition Name="ScrapReasonID" SourceObjectName="ScrapReasonID" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="WorkOrderID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_WorkOrder_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="ScrapReason" RelationshipType="ManyToOne" SourceObjectName="FK_WorkOrder_ScrapReason_ScrapReasonID" Visible="true"/>
					<RelationshipDefinition Name="WorkOrderRoutingWorkOrders" RelationshipType="OneToMany" SourceObjectName="FK_WorkOrderRouting_WorkOrder_WorkOrderID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="WorkOrderRouting" RelativeNamespace="Production" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Production.WorkOrderRouting" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="WorkOrderID" SourceObjectName="WorkOrderID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="OperationSequence" SourceObjectName="OperationSequence" Visible="true"/>
					<PropertyDefinition Name="LocationID" SourceObjectName="LocationID" Visible="true"/>
					<PropertyDefinition Name="ScheduledStartDate" SourceObjectName="ScheduledStartDate" Visible="true"/>
					<PropertyDefinition Name="ScheduledEndDate" SourceObjectName="ScheduledEndDate" Visible="true"/>
					<PropertyDefinition Name="ActualStartDate" SourceObjectName="ActualStartDate" Visible="true"/>
					<PropertyDefinition Name="ActualEndDate" SourceObjectName="ActualEndDate" Visible="true"/>
					<PropertyDefinition Name="ActualResourceHrs" SourceObjectName="ActualResourceHrs" Visible="true"/>
					<PropertyDefinition Name="PlannedCost" SourceObjectName="PlannedCost" Visible="true"/>
					<PropertyDefinition Name="ActualCost" SourceObjectName="ActualCost" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="WorkOrderID" />
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="OperationSequence" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Location" RelationshipType="ManyToOne" SourceObjectName="FK_WorkOrderRouting_Location_LocationID" Visible="true"/>
					<RelationshipDefinition Name="WorkOrder" RelationshipType="ManyToOne" SourceObjectName="FK_WorkOrderRouting_WorkOrder_WorkOrderID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ProductVendor" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.ProductVendor" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="AverageLeadTime" SourceObjectName="AverageLeadTime" Visible="true"/>
					<PropertyDefinition Name="StandardPrice" SourceObjectName="StandardPrice" Visible="true"/>
					<PropertyDefinition Name="LastReceiptCost" SourceObjectName="LastReceiptCost" Visible="true"/>
					<PropertyDefinition Name="LastReceiptDate" SourceObjectName="LastReceiptDate" Visible="true"/>
					<PropertyDefinition Name="MinOrderQty" SourceObjectName="MinOrderQty" Visible="true"/>
					<PropertyDefinition Name="MaxOrderQty" SourceObjectName="MaxOrderQty" Visible="true"/>
					<PropertyDefinition Name="OnOrderQty" SourceObjectName="OnOrderQty" Visible="true"/>
					<PropertyDefinition Name="UnitMeasureCode" SourceObjectName="UnitMeasureCode" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ProductID" />
					<BusinessKeyDefinition SourceObjectName="VendorID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ProductVendor_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="UnitMeasureCode" RelationshipType="ManyToOne" SourceObjectName="FK_ProductVendor_UnitMeasure_UnitMeasureCode" Visible="true"/>
					<RelationshipDefinition Name="Vendor" RelationshipType="ManyToOne" SourceObjectName="FK_ProductVendor_Vendor_VendorID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="PurchaseOrderDetail" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.PurchaseOrderDetail" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="PurchaseOrderID" SourceObjectName="PurchaseOrderID" Visible="true"/>
					<PropertyDefinition Name="PurchaseOrderDetailID" SourceObjectName="PurchaseOrderDetailID" Visible="true"/>
					<PropertyDefinition Name="DueDate" SourceObjectName="DueDate" Visible="true"/>
					<PropertyDefinition Name="OrderQty" SourceObjectName="OrderQty" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="UnitPrice" SourceObjectName="UnitPrice" Visible="true"/>
					<PropertyDefinition Name="LineTotal" SourceObjectName="LineTotal" Visible="true"/>
					<PropertyDefinition Name="ReceivedQty" SourceObjectName="ReceivedQty" Visible="true"/>
					<PropertyDefinition Name="RejectedQty" SourceObjectName="RejectedQty" Visible="true"/>
					<PropertyDefinition Name="StockedQty" SourceObjectName="StockedQty" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="PurchaseOrderID" />
					<BusinessKeyDefinition SourceObjectName="PurchaseOrderDetailID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_PurchaseOrderDetail_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="PurchaseOrder" RelationshipType="ManyToOne" SourceObjectName="FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="PurchaseOrderHeader" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.PurchaseOrderHeader" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="PurchaseOrderID" SourceObjectName="PurchaseOrderID" Visible="true"/>
					<PropertyDefinition Name="RevisionNumber" SourceObjectName="RevisionNumber" Visible="true"/>
					<PropertyDefinition Name="Status" SourceObjectName="Status" Visible="true"/>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="ShipMethodID" SourceObjectName="ShipMethodID" Visible="true"/>
					<PropertyDefinition Name="OrderDate" SourceObjectName="OrderDate" Visible="true"/>
					<PropertyDefinition Name="ShipDate" SourceObjectName="ShipDate" Visible="true"/>
					<PropertyDefinition Name="SubTotal" SourceObjectName="SubTotal" Visible="true"/>
					<PropertyDefinition Name="TaxAmt" SourceObjectName="TaxAmt" Visible="true"/>
					<PropertyDefinition Name="Freight" SourceObjectName="Freight" Visible="true"/>
					<PropertyDefinition Name="TotalDue" SourceObjectName="TotalDue" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="PurchaseOrderID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="PurchaseOrderDetailPurchaseOrders" RelationshipType="OneToMany" SourceObjectName="FK_PurchaseOrderDetail_PurchaseOrderHeader_PurchaseOrderID" Visible="true"/>
					<RelationshipDefinition Name="Employee" RelationshipType="ManyToOne" SourceObjectName="FK_PurchaseOrderHeader_Employee_EmployeeID" Visible="true"/>
					<RelationshipDefinition Name="ShipMethod" RelationshipType="ManyToOne" SourceObjectName="FK_PurchaseOrderHeader_ShipMethod_ShipMethodID" Visible="true"/>
					<RelationshipDefinition Name="Vendor" RelationshipType="ManyToOne" SourceObjectName="FK_PurchaseOrderHeader_Vendor_VendorID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ShipMethod" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Purchasing.ShipMethod" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ShipMethodID" SourceObjectName="ShipMethodID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ShipBase" SourceObjectName="ShipBase" Visible="true"/>
					<PropertyDefinition Name="ShipRate" SourceObjectName="ShipRate" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="PurchaseOrderHeaderShipMethods" RelationshipType="OneToMany" SourceObjectName="FK_PurchaseOrderHeader_ShipMethod_ShipMethodID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderShipMethods" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_ShipMethod_ShipMethodID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Vendor" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.Vendor" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="AccountNumber" SourceObjectName="AccountNumber" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="CreditRating" SourceObjectName="CreditRating" Visible="true"/>
					<PropertyDefinition Name="PreferredVendorStatus" SourceObjectName="PreferredVendorStatus" Visible="true"/>
					<PropertyDefinition Name="ActiveFlag" SourceObjectName="ActiveFlag" Visible="true"/>
					<PropertyDefinition Name="PurchasingWebServiceURL" SourceObjectName="PurchasingWebServiceURL" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="AccountNumber" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="ProductVendorVendors" RelationshipType="OneToMany" SourceObjectName="FK_ProductVendor_Vendor_VendorID" Visible="true"/>
					<RelationshipDefinition Name="PurchaseOrderHeaderVendors" RelationshipType="OneToMany" SourceObjectName="FK_PurchaseOrderHeader_Vendor_VendorID" Visible="true"/>
					<RelationshipDefinition Name="VendorAddressVendors" RelationshipType="OneToMany" SourceObjectName="FK_VendorAddress_Vendor_VendorID" Visible="true"/>
					<RelationshipDefinition Name="VendorContactVendors" RelationshipType="OneToMany" SourceObjectName="FK_VendorContact_Vendor_VendorID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="VendorAddress" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.VendorAddress" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="AddressID" SourceObjectName="AddressID" Visible="true"/>
					<PropertyDefinition Name="AddressTypeID" SourceObjectName="AddressTypeID" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="VendorID" />
					<BusinessKeyDefinition SourceObjectName="AddressID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Address" RelationshipType="ManyToOne" SourceObjectName="FK_VendorAddress_Address_AddressID" Visible="true"/>
					<RelationshipDefinition Name="AddressType" RelationshipType="ManyToOne" SourceObjectName="FK_VendorAddress_AddressType_AddressTypeID" Visible="true"/>
					<RelationshipDefinition Name="Vendor" RelationshipType="ManyToOne" SourceObjectName="FK_VendorAddress_Vendor_VendorID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="VendorContact" RelativeNamespace="Purchasing" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Purchasing.VendorContact" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="ContactTypeID" SourceObjectName="ContactTypeID" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="VendorID" />
					<BusinessKeyDefinition SourceObjectName="ContactID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Contact" RelationshipType="ManyToOne" SourceObjectName="FK_VendorContact_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="ContactType" RelationshipType="ManyToOne" SourceObjectName="FK_VendorContact_ContactType_ContactTypeID" Visible="true"/>
					<RelationshipDefinition Name="Vendor" RelationshipType="ManyToOne" SourceObjectName="FK_VendorContact_Vendor_VendorID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="CreditCard" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.CreditCard" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CreditCardID" SourceObjectName="CreditCardID" Visible="true"/>
					<PropertyDefinition Name="CardType" SourceObjectName="CardType" Visible="true"/>
					<PropertyDefinition Name="CardNumber" SourceObjectName="CardNumber" Visible="true"/>
					<PropertyDefinition Name="ExpMonth" SourceObjectName="ExpMonth" Visible="true"/>
					<PropertyDefinition Name="ExpYear" SourceObjectName="ExpYear" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CardNumber" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Contacts" RelationshipType="ManyToMany" SourceObjectName="FK_ContactCreditCard_CreditCard_CreditCardID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderCreditCards" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_CreditCard_CreditCardID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Currency" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Reference" SourceObjectName="Sales.Currency" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CurrencyCode" SourceObjectName="CurrencyCode" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CurrencyCode" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="CountryRegionCodes" RelationshipType="ManyToMany" SourceObjectName="FK_CountryRegionCurrency_Currency_CurrencyCode" Visible="true"/>
					<RelationshipDefinition Name="CurrencyRateFromCurrencyCodes" RelationshipType="OneToMany" SourceObjectName="FK_CurrencyRate_Currency_FromCurrencyCode" Visible="true"/>
					<RelationshipDefinition Name="CurrencyRateToCurrencyCodes" RelationshipType="OneToMany" SourceObjectName="FK_CurrencyRate_Currency_ToCurrencyCode" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="CurrencyRate" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.CurrencyRate" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CurrencyRateID" SourceObjectName="CurrencyRateID" Visible="true"/>
					<PropertyDefinition Name="CurrencyRateDate" SourceObjectName="CurrencyRateDate" Visible="true"/>
					<PropertyDefinition Name="FromCurrencyCode" SourceObjectName="FromCurrencyCode" Visible="true"/>
					<PropertyDefinition Name="ToCurrencyCode" SourceObjectName="ToCurrencyCode" Visible="true"/>
					<PropertyDefinition Name="AverageRate" SourceObjectName="AverageRate" Visible="true"/>
					<PropertyDefinition Name="EndOfDayRate" SourceObjectName="EndOfDayRate" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CurrencyRateDate" />
					<BusinessKeyDefinition SourceObjectName="FromCurrencyCode" />
					<BusinessKeyDefinition SourceObjectName="ToCurrencyCode" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="FromCurrencyCode" RelationshipType="ManyToOne" SourceObjectName="FK_CurrencyRate_Currency_FromCurrencyCode" Visible="true"/>
					<RelationshipDefinition Name="ToCurrencyCode" RelationshipType="ManyToOne" SourceObjectName="FK_CurrencyRate_Currency_ToCurrencyCode" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderCurrencyRates" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_CurrencyRate_CurrencyRateID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Customer" RelativeNamespace="Sales" IsAbstract="true" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.Customer" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="AccountNumber" SourceObjectName="AccountNumber" Visible="true"/>
					<PropertyDefinition Name="CustomerType" SourceObjectName="CustomerType" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CustomerID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Territory" RelationshipType="ManyToOne" SourceObjectName="FK_Customer_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="CustomerAddressCustomers" RelationshipType="OneToMany" SourceObjectName="FK_CustomerAddress_Customer_CustomerID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderCustomers" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_Customer_CustomerID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="CustomerAddress" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.CustomerAddress" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="AddressID" SourceObjectName="AddressID" Visible="true"/>
					<PropertyDefinition Name="AddressTypeID" SourceObjectName="AddressTypeID" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="rowguid" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Address" RelationshipType="ManyToOne" SourceObjectName="FK_CustomerAddress_Address_AddressID" Visible="true"/>
					<RelationshipDefinition Name="AddressType" RelationshipType="ManyToOne" SourceObjectName="FK_CustomerAddress_AddressType_AddressTypeID" Visible="true"/>
					<RelationshipDefinition Name="Customer" RelationshipType="ManyToOne" SourceObjectName="FK_CustomerAddress_Customer_CustomerID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Individual" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.Individual" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="Demographics" SourceObjectName="Demographics" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Contact" RelationshipType="ManyToOne" SourceObjectName="FK_Individual_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="OneToOne" RelationshipType="OneToOne" SourceObjectName="FK_Individual_Customer_CustomerID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesOrderDetail" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesOrderDetail" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesOrderID" SourceObjectName="SalesOrderID" Visible="true"/>
					<PropertyDefinition Name="SalesOrderDetailID" SourceObjectName="SalesOrderDetailID" Visible="true"/>
					<PropertyDefinition Name="CarrierTrackingNumber" SourceObjectName="CarrierTrackingNumber" Visible="true"/>
					<PropertyDefinition Name="OrderQty" SourceObjectName="OrderQty" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="SpecialOfferID" SourceObjectName="SpecialOfferID" Visible="true"/>
					<PropertyDefinition Name="UnitPrice" SourceObjectName="UnitPrice" Visible="true"/>
					<PropertyDefinition Name="UnitPriceDiscount" SourceObjectName="UnitPriceDiscount" Visible="true"/>
					<PropertyDefinition Name="LineTotal" SourceObjectName="LineTotal" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="rowguid" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesOrder" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderID" Visible="true"/>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderDetail_SpecialOfferProduct_SpecialOfferIDProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesOrderHeader" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesOrderHeader" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesOrderID" SourceObjectName="SalesOrderID" Visible="true"/>
					<PropertyDefinition Name="RevisionNumber" SourceObjectName="RevisionNumber" Visible="true"/>
					<PropertyDefinition Name="OrderDate" SourceObjectName="OrderDate" Visible="true"/>
					<PropertyDefinition Name="DueDate" SourceObjectName="DueDate" Visible="true"/>
					<PropertyDefinition Name="ShipDate" SourceObjectName="ShipDate" Visible="true"/>
					<PropertyDefinition Name="Status" SourceObjectName="Status" Visible="true"/>
					<PropertyDefinition Name="OnlineOrderFlag" SourceObjectName="OnlineOrderFlag" Visible="true"/>
					<PropertyDefinition Name="SalesOrderNumber" SourceObjectName="SalesOrderNumber" Visible="true"/>
					<PropertyDefinition Name="PurchaseOrderNumber" SourceObjectName="PurchaseOrderNumber" Visible="true"/>
					<PropertyDefinition Name="AccountNumber" SourceObjectName="AccountNumber" Visible="true"/>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="BillToAddressID" SourceObjectName="BillToAddressID" Visible="true"/>
					<PropertyDefinition Name="ShipToAddressID" SourceObjectName="ShipToAddressID" Visible="true"/>
					<PropertyDefinition Name="ShipMethodID" SourceObjectName="ShipMethodID" Visible="true"/>
					<PropertyDefinition Name="CreditCardID" SourceObjectName="CreditCardID" Visible="true"/>
					<PropertyDefinition Name="CreditCardApprovalCode" SourceObjectName="CreditCardApprovalCode" Visible="true"/>
					<PropertyDefinition Name="CurrencyRateID" SourceObjectName="CurrencyRateID" Visible="true"/>
					<PropertyDefinition Name="SubTotal" SourceObjectName="SubTotal" Visible="true"/>
					<PropertyDefinition Name="TaxAmt" SourceObjectName="TaxAmt" Visible="true"/>
					<PropertyDefinition Name="Freight" SourceObjectName="Freight" Visible="true"/>
					<PropertyDefinition Name="TotalDue" SourceObjectName="TotalDue" Visible="true"/>
					<PropertyDefinition Name="Comment" SourceObjectName="Comment" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="SalesOrderID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesOrderDetailSalesOrders" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderDetail_SalesOrderHeader_SalesOrderID" Visible="true"/>
					<RelationshipDefinition Name="BillToAddress" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_Address_BillToAddressID" Visible="true"/>
					<RelationshipDefinition Name="ShipToAddress" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_Address_ShipToAddressID" Visible="true"/>
					<RelationshipDefinition Name="Contact" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="ShipMethod" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_ShipMethod_ShipMethodID" Visible="true"/>
					<RelationshipDefinition Name="CreditCard" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_CreditCard_CreditCardID" Visible="true"/>
					<RelationshipDefinition Name="CurrencyRate" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_CurrencyRate_CurrencyRateID" Visible="true"/>
					<RelationshipDefinition Name="Customer" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_Customer_CustomerID" Visible="true"/>
					<RelationshipDefinition Name="SalesPerson" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="Territory" RelationshipType="ManyToOne" SourceObjectName="FK_SalesOrderHeader_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesReasons" RelationshipType="ManyToMany" SourceObjectName="FK_SalesOrderHeaderSalesReason_SalesOrderHeader_SalesOrderID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesPerson" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesPerson" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="SalesQuota" SourceObjectName="SalesQuota" Visible="true"/>
					<PropertyDefinition Name="Bonus" SourceObjectName="Bonus" Visible="true"/>
					<PropertyDefinition Name="CommissionPct" SourceObjectName="CommissionPct" Visible="true"/>
					<PropertyDefinition Name="SalesYTD" SourceObjectName="SalesYTD" Visible="true"/>
					<PropertyDefinition Name="SalesLastYear" SourceObjectName="SalesLastYear" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesOrderHeaderSalespeople" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="OneToOne" RelationshipType="OneToOne" SourceObjectName="FK_SalesPerson_Employee_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="Territory" RelationshipType="ManyToOne" SourceObjectName="FK_SalesPerson_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesPersonQuotaHistorySalespeople" RelationshipType="OneToMany" SourceObjectName="FK_SalesPersonQuotaHistory_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="SalesTerritoryHistorySalespeople" RelationshipType="OneToMany" SourceObjectName="FK_SalesTerritoryHistory_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="StoreSalespeople" RelationshipType="OneToMany" SourceObjectName="FK_Store_SalesPerson_SalesPersonID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesPersonQuotaHistory" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesPersonQuotaHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="QuotaDate" SourceObjectName="QuotaDate" Visible="true"/>
					<PropertyDefinition Name="SalesQuota" SourceObjectName="SalesQuota" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="rowguid" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesPerson" RelationshipType="ManyToOne" SourceObjectName="FK_SalesPersonQuotaHistory_SalesPerson_SalesPersonID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesReason" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesReason" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesReasonID" SourceObjectName="SalesReasonID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ReasonType" SourceObjectName="ReasonType" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
					<BusinessKeyDefinition SourceObjectName="ReasonType" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesOrders" RelationshipType="ManyToMany" SourceObjectName="FK_SalesOrderHeaderSalesReason_SalesReason_SalesReasonID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesTaxRate" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesTaxRate" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesTaxRateID" SourceObjectName="SalesTaxRateID" Visible="true"/>
					<PropertyDefinition Name="StateProvinceID" SourceObjectName="StateProvinceID" Visible="true"/>
					<PropertyDefinition Name="TaxType" SourceObjectName="TaxType" Visible="true"/>
					<PropertyDefinition Name="TaxRate" SourceObjectName="TaxRate" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="rowguid" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="StateProvince" RelationshipType="ManyToOne" SourceObjectName="FK_SalesTaxRate_StateProvince_StateProvinceID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesTerritory" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesTerritory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="CountryRegionCode" SourceObjectName="CountryRegionCode" Visible="true"/>
					<PropertyDefinition Name="Group" SourceObjectName="Group" Visible="true"/>
					<PropertyDefinition Name="SalesYTD" SourceObjectName="SalesYTD" Visible="true"/>
					<PropertyDefinition Name="SalesLastYear" SourceObjectName="SalesLastYear" Visible="true"/>
					<PropertyDefinition Name="CostYTD" SourceObjectName="CostYTD" Visible="true"/>
					<PropertyDefinition Name="CostLastYear" SourceObjectName="CostLastYear" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Name" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="StateProvinceTerritories" RelationshipType="OneToMany" SourceObjectName="FK_StateProvince_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="CustomerTerritories" RelationshipType="OneToMany" SourceObjectName="FK_Customer_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesOrderHeaderTerritories" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderHeader_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesPersonTerritories" RelationshipType="OneToMany" SourceObjectName="FK_SalesPerson_SalesTerritory_TerritoryID" Visible="true"/>
					<RelationshipDefinition Name="SalesTerritoryHistoryTerritories" RelationshipType="OneToMany" SourceObjectName="FK_SalesTerritoryHistory_SalesTerritory_TerritoryID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SalesTerritoryHistory" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SalesTerritoryHistory" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="rowguid" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesPerson" RelationshipType="ManyToOne" SourceObjectName="FK_SalesTerritoryHistory_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="Territory" RelationshipType="ManyToOne" SourceObjectName="FK_SalesTerritoryHistory_SalesTerritory_TerritoryID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="ShoppingCartItem" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.ShoppingCartItem" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="ShoppingCartItemID" SourceObjectName="ShoppingCartItemID" Visible="true"/>
					<PropertyDefinition Name="ShoppingCartID" SourceObjectName="ShoppingCartID" Visible="true"/>
					<PropertyDefinition Name="Quantity" SourceObjectName="Quantity" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="DateCreated" SourceObjectName="DateCreated" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="ShoppingCartID" />
					<BusinessKeyDefinition SourceObjectName="ProductID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_ShoppingCartItem_Product_ProductID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SpecialOffer" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SpecialOffer" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SpecialOfferID" SourceObjectName="SpecialOfferID" Visible="true"/>
					<PropertyDefinition Name="Description" SourceObjectName="Description" Visible="true"/>
					<PropertyDefinition Name="DiscountPct" SourceObjectName="DiscountPct" Visible="true"/>
					<PropertyDefinition Name="Type" SourceObjectName="Type" Visible="true"/>
					<PropertyDefinition Name="Category" SourceObjectName="Category" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
					<PropertyDefinition Name="MinQty" SourceObjectName="MinQty" Visible="true"/>
					<PropertyDefinition Name="MaxQty" SourceObjectName="MaxQty" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="Description" />
					<BusinessKeyDefinition SourceObjectName="Category" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SpecialOfferProductSpecialOffers" RelationshipType="OneToMany" SourceObjectName="FK_SpecialOfferProduct_SpecialOffer_SpecialOfferID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="SpecialOfferProduct" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.SpecialOfferProduct" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="SpecialOfferID" SourceObjectName="SpecialOfferID" Visible="true"/>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="SpecialOfferID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="SalesOrderDetailProducts" RelationshipType="OneToMany" SourceObjectName="FK_SalesOrderDetail_SpecialOfferProduct_SpecialOfferIDProductID" Visible="true"/>
					<RelationshipDefinition Name="Product" RelationshipType="ManyToOne" SourceObjectName="FK_SpecialOfferProduct_Product_ProductID" Visible="true"/>
					<RelationshipDefinition Name="SpecialOffer" RelationshipType="ManyToOne" SourceObjectName="FK_SpecialOfferProduct_SpecialOffer_SpecialOfferID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="Store" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.Store" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="Demographics" SourceObjectName="Demographics" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="false"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="false"/>
				</Properties>
				<BusinessKeys>
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="OneToOne" RelationshipType="OneToOne" SourceObjectName="FK_Store_Customer_CustomerID" Visible="true"/>
					<RelationshipDefinition Name="SalesPerson" RelationshipType="ManyToOne" SourceObjectName="FK_Store_SalesPerson_SalesPersonID" Visible="true"/>
					<RelationshipDefinition Name="StoreContactCustomers" RelationshipType="OneToMany" SourceObjectName="FK_StoreContact_Store_CustomerID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="StoreContact" RelativeNamespace="Sales" IsAbstract="false" IsUpdatable="true" EntityType="Entity" SourceObjectName="Sales.StoreContact" SourceObjectType="Table" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="ContactTypeID" SourceObjectName="ContactTypeID" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
				<BusinessKeys>
					<BusinessKeyDefinition SourceObjectName="CustomerID" />
					<BusinessKeyDefinition SourceObjectName="ContactID" />
				</BusinessKeys>
				<Relationships>
					<RelationshipDefinition Name="Contact" RelationshipType="ManyToOne" SourceObjectName="FK_StoreContact_Contact_ContactID" Visible="true"/>
					<RelationshipDefinition Name="ContactType" RelationshipType="ManyToOne" SourceObjectName="FK_StoreContact_ContactType_ContactTypeID" Visible="true"/>
					<RelationshipDefinition Name="Customer" RelationshipType="ManyToOne" SourceObjectName="FK_StoreContact_Store_CustomerID" Visible="true"/>
				</Relationships>
			</EntityDefinition>
			<EntityDefinition Name="vEmployee" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vEmployee" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="JobTitle" SourceObjectName="JobTitle" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
					<PropertyDefinition Name="AdditionalContactInfo" SourceObjectName="AdditionalContactInfo" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vEmployeeDepartment" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vEmployeeDepartment" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="JobTitle" SourceObjectName="JobTitle" Visible="true"/>
					<PropertyDefinition Name="Department" SourceObjectName="Department" Visible="true"/>
					<PropertyDefinition Name="GroupName" SourceObjectName="GroupName" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vEmployeeDepartmentHistory" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vEmployeeDepartmentHistory" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="Shift" SourceObjectName="Shift" Visible="true"/>
					<PropertyDefinition Name="Department" SourceObjectName="Department" Visible="true"/>
					<PropertyDefinition Name="GroupName" SourceObjectName="GroupName" Visible="true"/>
					<PropertyDefinition Name="StartDate" SourceObjectName="StartDate" Visible="true"/>
					<PropertyDefinition Name="EndDate" SourceObjectName="EndDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vJobCandidate" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vJobCandidate" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="JobCandidateID" SourceObjectName="JobCandidateID" Visible="true"/>
					<PropertyDefinition Name="EmployeeID" SourceObjectName="EmployeeID" Visible="true"/>
					<PropertyDefinition Name="Name.Prefix" SourceObjectName="Name.Prefix" Visible="true"/>
					<PropertyDefinition Name="Name.First" SourceObjectName="Name.First" Visible="true"/>
					<PropertyDefinition Name="Name.Middle" SourceObjectName="Name.Middle" Visible="true"/>
					<PropertyDefinition Name="Name.Last" SourceObjectName="Name.Last" Visible="true"/>
					<PropertyDefinition Name="Name.Suffix" SourceObjectName="Name.Suffix" Visible="true"/>
					<PropertyDefinition Name="Skills" SourceObjectName="Skills" Visible="true"/>
					<PropertyDefinition Name="Addr.Type" SourceObjectName="Addr.Type" Visible="true"/>
					<PropertyDefinition Name="Addr.Loc.CountryRegion" SourceObjectName="Addr.Loc.CountryRegion" Visible="true"/>
					<PropertyDefinition Name="Addr.Loc.State" SourceObjectName="Addr.Loc.State" Visible="true"/>
					<PropertyDefinition Name="Addr.Loc.City" SourceObjectName="Addr.Loc.City" Visible="true"/>
					<PropertyDefinition Name="Addr.PostalCode" SourceObjectName="Addr.PostalCode" Visible="true"/>
					<PropertyDefinition Name="EMail" SourceObjectName="EMail" Visible="true"/>
					<PropertyDefinition Name="WebSite" SourceObjectName="WebSite" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vJobCandidateEducation" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vJobCandidateEducation" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="JobCandidateID" SourceObjectName="JobCandidateID" Visible="true"/>
					<PropertyDefinition Name="Edu.Level" SourceObjectName="Edu.Level" Visible="true"/>
					<PropertyDefinition Name="Edu.StartDate" SourceObjectName="Edu.StartDate" Visible="true"/>
					<PropertyDefinition Name="Edu.EndDate" SourceObjectName="Edu.EndDate" Visible="true"/>
					<PropertyDefinition Name="Edu.Degree" SourceObjectName="Edu.Degree" Visible="true"/>
					<PropertyDefinition Name="Edu.Major" SourceObjectName="Edu.Major" Visible="true"/>
					<PropertyDefinition Name="Edu.Minor" SourceObjectName="Edu.Minor" Visible="true"/>
					<PropertyDefinition Name="Edu.GPA" SourceObjectName="Edu.GPA" Visible="true"/>
					<PropertyDefinition Name="Edu.GPAScale" SourceObjectName="Edu.GPAScale" Visible="true"/>
					<PropertyDefinition Name="Edu.School" SourceObjectName="Edu.School" Visible="true"/>
					<PropertyDefinition Name="Edu.Loc.CountryRegion" SourceObjectName="Edu.Loc.CountryRegion" Visible="true"/>
					<PropertyDefinition Name="Edu.Loc.State" SourceObjectName="Edu.Loc.State" Visible="true"/>
					<PropertyDefinition Name="Edu.Loc.City" SourceObjectName="Edu.Loc.City" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vJobCandidateEmployment" RelativeNamespace="HumanResources" SourceObjectName="HumanResources.vJobCandidateEmployment" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="JobCandidateID" SourceObjectName="JobCandidateID" Visible="true"/>
					<PropertyDefinition Name="Emp.StartDate" SourceObjectName="Emp.StartDate" Visible="true"/>
					<PropertyDefinition Name="Emp.EndDate" SourceObjectName="Emp.EndDate" Visible="true"/>
					<PropertyDefinition Name="Emp.OrgName" SourceObjectName="Emp.OrgName" Visible="true"/>
					<PropertyDefinition Name="Emp.JobTitle" SourceObjectName="Emp.JobTitle" Visible="true"/>
					<PropertyDefinition Name="Emp.Responsibility" SourceObjectName="Emp.Responsibility" Visible="true"/>
					<PropertyDefinition Name="Emp.FunctionCategory" SourceObjectName="Emp.FunctionCategory" Visible="true"/>
					<PropertyDefinition Name="Emp.IndustryCategory" SourceObjectName="Emp.IndustryCategory" Visible="true"/>
					<PropertyDefinition Name="Emp.Loc.CountryRegion" SourceObjectName="Emp.Loc.CountryRegion" Visible="true"/>
					<PropertyDefinition Name="Emp.Loc.State" SourceObjectName="Emp.Loc.State" Visible="true"/>
					<PropertyDefinition Name="Emp.Loc.City" SourceObjectName="Emp.Loc.City" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vAdditionalContactInfo" RelativeNamespace="Person" SourceObjectName="Person.vAdditionalContactInfo" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="ContactID" SourceObjectName="ContactID" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="TelephoneNumber" SourceObjectName="TelephoneNumber" Visible="true"/>
					<PropertyDefinition Name="TelephoneSpecialInstructions" SourceObjectName="TelephoneSpecialInstructions" Visible="true"/>
					<PropertyDefinition Name="Street" SourceObjectName="Street" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvince" SourceObjectName="StateProvince" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegion" SourceObjectName="CountryRegion" Visible="true"/>
					<PropertyDefinition Name="HomeAddressSpecialInstructions" SourceObjectName="HomeAddressSpecialInstructions" Visible="true"/>
					<PropertyDefinition Name="EMailAddress" SourceObjectName="EMailAddress" Visible="true"/>
					<PropertyDefinition Name="EMailSpecialInstructions" SourceObjectName="EMailSpecialInstructions" Visible="true"/>
					<PropertyDefinition Name="EMailTelephoneNumber" SourceObjectName="EMailTelephoneNumber" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vStateProvinceCountryRegion" RelativeNamespace="Person" SourceObjectName="Person.vStateProvinceCountryRegion" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="StateProvinceID" SourceObjectName="StateProvinceID" Visible="true"/>
					<PropertyDefinition Name="StateProvinceCode" SourceObjectName="StateProvinceCode" Visible="true"/>
					<PropertyDefinition Name="IsOnlyStateProvinceFlag" SourceObjectName="IsOnlyStateProvinceFlag" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="TerritoryID" SourceObjectName="TerritoryID" Visible="true"/>
					<PropertyDefinition Name="CountryRegionCode" SourceObjectName="CountryRegionCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vProductAndDescription" RelativeNamespace="Production" SourceObjectName="Production.vProductAndDescription" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductID" SourceObjectName="ProductID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ProductModel" SourceObjectName="ProductModel" Visible="true"/>
					<PropertyDefinition Name="CultureID" SourceObjectName="CultureID" Visible="true"/>
					<PropertyDefinition Name="Description" SourceObjectName="Description" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vProductModelCatalogDescription" RelativeNamespace="Production" SourceObjectName="Production.vProductModelCatalogDescription" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductModelID" SourceObjectName="ProductModelID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="Summary" SourceObjectName="Summary" Visible="true"/>
					<PropertyDefinition Name="Manufacturer" SourceObjectName="Manufacturer" Visible="true"/>
					<PropertyDefinition Name="Copyright" SourceObjectName="Copyright" Visible="true"/>
					<PropertyDefinition Name="ProductURL" SourceObjectName="ProductURL" Visible="true"/>
					<PropertyDefinition Name="WarrantyPeriod" SourceObjectName="WarrantyPeriod" Visible="true"/>
					<PropertyDefinition Name="WarrantyDescription" SourceObjectName="WarrantyDescription" Visible="true"/>
					<PropertyDefinition Name="NoOfYears" SourceObjectName="NoOfYears" Visible="true"/>
					<PropertyDefinition Name="MaintenanceDescription" SourceObjectName="MaintenanceDescription" Visible="true"/>
					<PropertyDefinition Name="Wheel" SourceObjectName="Wheel" Visible="true"/>
					<PropertyDefinition Name="Saddle" SourceObjectName="Saddle" Visible="true"/>
					<PropertyDefinition Name="Pedal" SourceObjectName="Pedal" Visible="true"/>
					<PropertyDefinition Name="BikeFrame" SourceObjectName="BikeFrame" Visible="true"/>
					<PropertyDefinition Name="Crankset" SourceObjectName="Crankset" Visible="true"/>
					<PropertyDefinition Name="PictureAngle" SourceObjectName="PictureAngle" Visible="true"/>
					<PropertyDefinition Name="PictureSize" SourceObjectName="PictureSize" Visible="true"/>
					<PropertyDefinition Name="ProductPhotoID" SourceObjectName="ProductPhotoID" Visible="true"/>
					<PropertyDefinition Name="Material" SourceObjectName="Material" Visible="true"/>
					<PropertyDefinition Name="Color" SourceObjectName="Color" Visible="true"/>
					<PropertyDefinition Name="ProductLine" SourceObjectName="ProductLine" Visible="true"/>
					<PropertyDefinition Name="Style" SourceObjectName="Style" Visible="true"/>
					<PropertyDefinition Name="RiderExperience" SourceObjectName="RiderExperience" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vProductModelInstructions" RelativeNamespace="Production" SourceObjectName="Production.vProductModelInstructions" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="ProductModelID" SourceObjectName="ProductModelID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="Instructions" SourceObjectName="Instructions" Visible="true"/>
					<PropertyDefinition Name="LocationID" SourceObjectName="LocationID" Visible="true"/>
					<PropertyDefinition Name="SetupHours" SourceObjectName="SetupHours" Visible="true"/>
					<PropertyDefinition Name="MachineHours" SourceObjectName="MachineHours" Visible="true"/>
					<PropertyDefinition Name="LaborHours" SourceObjectName="LaborHours" Visible="true"/>
					<PropertyDefinition Name="LotSize" SourceObjectName="LotSize" Visible="true"/>
					<PropertyDefinition Name="Step" SourceObjectName="Step" Visible="true"/>
					<PropertyDefinition Name="rowguid" SourceObjectName="rowguid" Visible="true"/>
					<PropertyDefinition Name="ModifiedDate" SourceObjectName="ModifiedDate" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vVendor" RelativeNamespace="Purchasing" SourceObjectName="Purchasing.vVendor" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="VendorID" SourceObjectName="VendorID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ContactType" SourceObjectName="ContactType" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vIndividualCustomer" RelativeNamespace="Sales" SourceObjectName="Sales.vIndividualCustomer" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="AddressType" SourceObjectName="AddressType" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
					<PropertyDefinition Name="Demographics" SourceObjectName="Demographics" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vIndividualDemographics" RelativeNamespace="Sales" SourceObjectName="Sales.vIndividualDemographics" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="TotalPurchaseYTD" SourceObjectName="TotalPurchaseYTD" Visible="true"/>
					<PropertyDefinition Name="DateFirstPurchase" SourceObjectName="DateFirstPurchase" Visible="true"/>
					<PropertyDefinition Name="BirthDate" SourceObjectName="BirthDate" Visible="true"/>
					<PropertyDefinition Name="MaritalStatus" SourceObjectName="MaritalStatus" Visible="true"/>
					<PropertyDefinition Name="YearlyIncome" SourceObjectName="YearlyIncome" Visible="true"/>
					<PropertyDefinition Name="Gender" SourceObjectName="Gender" Visible="true"/>
					<PropertyDefinition Name="TotalChildren" SourceObjectName="TotalChildren" Visible="true"/>
					<PropertyDefinition Name="NumberChildrenAtHome" SourceObjectName="NumberChildrenAtHome" Visible="true"/>
					<PropertyDefinition Name="Education" SourceObjectName="Education" Visible="true"/>
					<PropertyDefinition Name="Occupation" SourceObjectName="Occupation" Visible="true"/>
					<PropertyDefinition Name="HomeOwnerFlag" SourceObjectName="HomeOwnerFlag" Visible="true"/>
					<PropertyDefinition Name="NumberCarsOwned" SourceObjectName="NumberCarsOwned" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vSalesPerson" RelativeNamespace="Sales" SourceObjectName="Sales.vSalesPerson" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="JobTitle" SourceObjectName="JobTitle" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
					<PropertyDefinition Name="TerritoryName" SourceObjectName="TerritoryName" Visible="true"/>
					<PropertyDefinition Name="TerritoryGroup" SourceObjectName="TerritoryGroup" Visible="true"/>
					<PropertyDefinition Name="SalesQuota" SourceObjectName="SalesQuota" Visible="true"/>
					<PropertyDefinition Name="SalesYTD" SourceObjectName="SalesYTD" Visible="true"/>
					<PropertyDefinition Name="SalesLastYear" SourceObjectName="SalesLastYear" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vSalesPersonSalesByFiscalYears" RelativeNamespace="Sales" SourceObjectName="Sales.vSalesPersonSalesByFiscalYears" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="SalesPersonID" SourceObjectName="SalesPersonID" Visible="true"/>
					<PropertyDefinition Name="FullName" SourceObjectName="FullName" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="SalesTerritory" SourceObjectName="SalesTerritory" Visible="true"/>
					<PropertyDefinition Name="2002" SourceObjectName="2002" Visible="true"/>
					<PropertyDefinition Name="2003" SourceObjectName="2003" Visible="true"/>
					<PropertyDefinition Name="2004" SourceObjectName="2004" Visible="true"/>
				</Properties>
			</EntityDefinition>
			<EntityDefinition Name="vStoreWithDemographics" RelativeNamespace="Sales" SourceObjectName="Sales.vStoreWithDemographics" IsAbstract="false" IsUpdatable="false" EntityType="Entity" SourceObjectType="View" Visible="true">
				<Properties>
					<PropertyDefinition Name="CustomerID" SourceObjectName="CustomerID" Visible="true"/>
					<PropertyDefinition Name="Name" SourceObjectName="Name" Visible="true"/>
					<PropertyDefinition Name="ContactType" SourceObjectName="ContactType" Visible="true"/>
					<PropertyDefinition Name="Title" SourceObjectName="Title" Visible="true"/>
					<PropertyDefinition Name="FirstName" SourceObjectName="FirstName" Visible="true"/>
					<PropertyDefinition Name="MiddleName" SourceObjectName="MiddleName" Visible="true"/>
					<PropertyDefinition Name="LastName" SourceObjectName="LastName" Visible="true"/>
					<PropertyDefinition Name="Suffix" SourceObjectName="Suffix" Visible="true"/>
					<PropertyDefinition Name="Phone" SourceObjectName="Phone" Visible="true"/>
					<PropertyDefinition Name="EmailAddress" SourceObjectName="EmailAddress" Visible="true"/>
					<PropertyDefinition Name="EmailPromotion" SourceObjectName="EmailPromotion" Visible="true"/>
					<PropertyDefinition Name="AddressType" SourceObjectName="AddressType" Visible="true"/>
					<PropertyDefinition Name="AddressLine1" SourceObjectName="AddressLine1" Visible="true"/>
					<PropertyDefinition Name="AddressLine2" SourceObjectName="AddressLine2" Visible="true"/>
					<PropertyDefinition Name="City" SourceObjectName="City" Visible="true"/>
					<PropertyDefinition Name="StateProvinceName" SourceObjectName="StateProvinceName" Visible="true"/>
					<PropertyDefinition Name="PostalCode" SourceObjectName="PostalCode" Visible="true"/>
					<PropertyDefinition Name="CountryRegionName" SourceObjectName="CountryRegionName" Visible="true"/>
					<PropertyDefinition Name="AnnualSales" SourceObjectName="AnnualSales" Visible="true"/>
					<PropertyDefinition Name="AnnualRevenue" SourceObjectName="AnnualRevenue" Visible="true"/>
					<PropertyDefinition Name="BankName" SourceObjectName="BankName" Visible="true"/>
					<PropertyDefinition Name="BusinessType" SourceObjectName="BusinessType" Visible="true"/>
					<PropertyDefinition Name="YearOpened" SourceObjectName="YearOpened" Visible="true"/>
					<PropertyDefinition Name="Specialty" SourceObjectName="Specialty" Visible="true"/>
					<PropertyDefinition Name="SquareFeet" SourceObjectName="SquareFeet" Visible="true"/>
					<PropertyDefinition Name="Brands" SourceObjectName="Brands" Visible="true"/>
					<PropertyDefinition Name="Internet" SourceObjectName="Internet" Visible="true"/>
					<PropertyDefinition Name="NumberEmployees" SourceObjectName="NumberEmployees" Visible="true"/>
				</Properties>
			</EntityDefinition>
		</Entities>
	</DomainDefinition>
	<BusinessLayerDefinition>
		<RelativeDomainLayerNamespace>Business.Entities</RelativeDomainLayerNamespace>
		<RelativeServiceLayerNamespace>Business.Services</RelativeServiceLayerNamespace>
		<Features>
			<SupportTimeZone>false</SupportTimeZone>
			<SupportWCF>true</SupportWCF>
			<TargetCLRVersion>3.0</TargetCLRVersion>
			<TargetDatabase>SQL2005</TargetDatabase>
		</Features>
		<MetaData>
			<Entity>
				<Filename>$Domain.Model.RootPath$\$Domain.Model.BusinessLayer.RelativeDomainLayerNamespace$\$RelativeNamespace#Replace('.','\')$\$Name$</Filename>
				<GeneratedFilename>$Domain.Model.RootPath$\$Domain.Model.BusinessLayer.RelativeDomainLayerNamespace$\Generated\$RelativeNamespace#Replace('.','\')$\$Name$</GeneratedFilename>
			</Entity>
			<Service>
				<Filename>$Model.RootPath$\$Model.BusinessLayer.RelativeServiceLayerNamespace$\$RelativeNamespace#Replace('.','\')$\$Name$</Filename>
				<GeneratedFilename>$Model.RootPath$\$Model.BusinessLayer.RelativeServiceLayerNamespace$\Generated\$RelativeNamespace#Replace('.','\')$\$Name$</GeneratedFilename>
				<InterfaceName>I$Name$</InterfaceName>
				<InterfaceFilename>$Model.RootPath$\$Model.BusinessLayer.RelativeServiceLayerNamespace$.Interfaces\$RelativeNamespace#Replace('.','\')$\I$Name$</InterfaceFilename>
				<InterfaceGeneratedFilename>$Model.RootPath$\$Model.BusinessLayer.RelativeServiceLayerNamespace$.Interfaces\Generated\$RelativeNamespace#Replace('.','\')$\I$Name$</InterfaceGeneratedFilename>
				<InterfaceRelativeNamespace>Business.Services.Interfaces.$RelativeNamespace$</InterfaceRelativeNamespace>
			</Service>
			<ServiceDomain>
				<Filename>$RootPath$\$BusinessLayer.RelativeServiceLayerNamespace$</Filename>
				<GeneratedFilename>$RootPath$\$BusinessLayer.RelativeServiceLayerNamespace$\Generated</GeneratedFilename>
			</ServiceDomain>
			<ServiceMethods>
				<!-- ServiceMethodTypes: Unknown, Exists, RetrieveSingle, RetrieveMultiple, RetrieveManyToMany, RetrieveHierarchy, StoreSingle, StoreMultiple, StoreManyToMany, DeleteSingle, DeleteMultiple -->
				<ServiceMethodMetaDataDefinition ServiceFeature="Exists">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Name$Exists</StoredProcedureName>
					<MethodName>$Entity.Name$Exists</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="RetrieveSingle">
					<FunctionName>gfn_Retrieve$Name$</FunctionName>
					<StoredProcedureName>gsp_Retrieve$Name$</StoredProcedureName>
					<MethodName>Retrieve$Entity.Name$</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="RetrieveRelationship">
					<FunctionName>gfn_Retrieve$Parent.Name$$Name$</FunctionName>
					<StoredProcedureName>gsp_Retrieve$Parent.Name$$Name$</StoredProcedureName>
					<MethodName>Retrieve$Parent.Name$$Name$</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="RetrieveMultiple">
					<FunctionName>gfn_$Name$Search</FunctionName>
					<StoredProcedureName>gsp_$Name$Search</StoredProcedureName>
					<MethodName>$Entity.Name$Search</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="RetrieveManyToMany">
					<FunctionName>gfn_Retrieve$Parent.Name$$Name$</FunctionName>
					<StoredProcedureName>gsp_Retrieve$Name$</StoredProcedureName>
					<MethodName>Retrieve$Name$</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="RetrieveHierarchy">
					<FunctionName>gfn_Retrieve$Name$</FunctionName>
					<StoredProcedureName>gsp_Retrieve$Name$</StoredProcedureName>
					<MethodName>Retrieve$Entity.Name$</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="StoreSingle">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Name$Store</StoredProcedureName>
					<MethodName>$Entity.Name$Store</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="StoreMultiple">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Name$sStore</StoredProcedureName>
					<MethodName>$Entity.Name$sStore</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="StoreManyToMany">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Parent.Name$$RelatedEntity.Name$Store</StoredProcedureName>
					<MethodName>$Parent.Name$$RelatedEntity.Name$Store</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="StoreManyToManyMultiple">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Parent.Name$$Name$Store</StoredProcedureName>
					<MethodName>$Parent.Name$$Name$Store</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="DeleteSingle">
					<FunctionName></FunctionName>
					<StoredProcedureName>gsp_$Name$Delete</StoredProcedureName>
					<MethodName>$Entity.Name$Delete</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
				<ServiceMethodMetaDataDefinition ServiceFeature="DeleteMultiple">
					<FunctionName>gfn_$Name$Delete</FunctionName>
					<StoredProcedureName>gsp_$Name$sDelete</StoredProcedureName>
					<MethodName>$Entity.Name$sDelete</MethodName>
					<Role></Role>
				</ServiceMethodMetaDataDefinition>
			</ServiceMethods>
		</MetaData>
		<BusinessServiceDefinitions>
			<!--<BusinessServiceDefinition Name="AWBuildVersion" RelativeNamespace="">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="dbo.AWBuildVersion" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="DatabaseLog" RelativeNamespace="">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="dbo.DatabaseLog" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ErrorLog" RelativeNamespace="">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="dbo.ErrorLog" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>-->
			<BusinessServiceDefinition Name="DepartmentService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.Department" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="EmployeeService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.Employee" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="EmployeeDepartmentHistoryService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.EmployeeDepartmentHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="EmployeePayHistoryService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.EmployeePayHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="JobCandidateService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.JobCandidate" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ShiftService" RelativeNamespace="HumanResources">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.Shift" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="AddressService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.Address" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="AddressTypeService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.AddressType" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ContactService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.Contact" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ContactTypeService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.ContactType" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CountryRegionService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.CountryRegion" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="StateProvinceService" RelativeNamespace="Person">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Person.StateProvince" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="BillOfMaterialsService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.BillOfMaterials" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CultureService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.Culture" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="DocumentService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.Document" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="IllustrationService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.Illustration" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="LocationService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.Location" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.Product" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductCategoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductCategory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductCostHistoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductCostHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductDescriptionService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductDescription" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductInventoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductInventory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductListPriceHistoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductListPriceHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductModelService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductModel" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductModelProductDescriptionCultureService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductModelProductDescriptionCulture" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductPhotoService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductPhoto" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductProductPhotoService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductProductPhoto" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductReviewService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductReview" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductSubcategoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ProductSubcategory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ScrapReasonService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.ScrapReason" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="TransactionHistoryService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.TransactionHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="TransactionHistoryArchiveService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.TransactionHistoryArchive" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="UnitMeasureService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.UnitMeasure" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="WorkOrderService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.WorkOrder" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="WorkOrderRoutingService" RelativeNamespace="Production">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Production.WorkOrderRouting" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ProductVendorService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.ProductVendor" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="PurchaseOrderDetailService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.PurchaseOrderDetail" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="PurchaseOrderHeaderService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.PurchaseOrderHeader" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ShipMethodService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.ShipMethod" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="VendorService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.Vendor" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="VendorAddressService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.VendorAddress" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="VendorContactService" RelativeNamespace="Purchasing">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Purchasing.VendorContact" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CreditCardService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.CreditCard" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CurrencyService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.Currency" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CurrencyRateService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.CurrencyRate" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CustomerService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.Customer" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="CustomerAddressService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.CustomerAddress" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="IndividualService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.Individual" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesOrderDetailService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesOrderDetail" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesOrderHeaderService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesOrderHeader" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesPersonService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesPerson" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesPersonQuotaHistoryService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesPersonQuotaHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesReasonService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesReason" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesTaxRateService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesTaxRate" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesTerritoryService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesTerritory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SalesTerritoryHistoryService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SalesTerritoryHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="ShoppingCartItemService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.ShoppingCartItem" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SpecialOfferService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SpecialOffer" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="SpecialOfferProductService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.SpecialOfferProduct" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="StoreService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.Store" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="StoreContactService" RelativeNamespace="Sales">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="Sales.StoreContact" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="true" IncludeRetrieveMultiple="true" IncludeSoftDelete="false" IncludeStore="true" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
			<BusinessServiceDefinition Name="NeedsSortingService" RelativeNamespace="">
				<ExposedEntities>
					<ExposedEntityDefinition SourceObjectName="HumanResources.vEmployee" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="HumanResources.vEmployeeDepartment" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="HumanResources.vEmployeeDepartmentHistory" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="HumanResources.vJobCandidate" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="HumanResources.vJobCandidateEducation" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="HumanResources.vJobCandidateEmployment" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Person.vAdditionalContactInfo" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Person.vStateProvinceCountryRegion" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Production.vProductAndDescription" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Production.vProductModelCatalogDescription" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Production.vProductModelInstructions" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Purchasing.vVendor" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Sales.vIndividualCustomer" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Sales.vIndividualDemographics" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Sales.vSalesPerson" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Sales.vSalesPersonSalesByFiscalYears" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
					<ExposedEntityDefinition SourceObjectName="Sales.vStoreWithDemographics" IncludeHardDelete="false" IncludeRelatedEntities="false" IncludeRetrieveSingle="false" IncludeRetrieveMultiple="false" IncludeSoftDelete="false" IncludeStore="false" />
				</ExposedEntities>
				<ServiceMethods />
			</BusinessServiceDefinition>
		</BusinessServiceDefinitions>
	</BusinessLayerDefinition>
</ModelDefinition>
